| Visual Basic (Declaration) | |
|---|---|
Public Function Contains( _ ByVal item As KeyValuePair(Of TKey,TValue) _ ) As Boolean  | |
| C# | |
|---|---|
public bool Contains( KeyValuePair<TKey,TValue> item )  | |
Parameters
- item
 - The object to locate in the ICollection.
 
Return Value
true if item is found in the ICollection; otherwise, false.Target Platforms: Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7